﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CSharpChores415.Data.Models;

namespace CSharpChores415.Models
{
    // VM - Index page - 
    // show - kids
    // show - chores
    // show - All chores assignd to kids
    public class KidsIndexVm
    {
        public List<Kid> KidList { get; set; }
        public List <Chore> ChoreList { get; set; }

        public List <KidsChoreIndexVm> AllChoresWithKids { get; set; }

    }

    public class KidsChoreIndexVm 
    {
        public string ChoreName { get; set; }
        public List<KidVm> KidList  { get; set; }

    }

    // Kid for view
    public class KidVm 
    {
        public string KidName { get; set; }
    }

    // VM - Details page - 
    // show - All chores assignd to A kid
    public class ChoreDetailsVm
    {
        // kid name
        public string Name { get; set; }
        // list of all chores they have been assigned to
        public List<ChoreVm> AssignedChores { get; set; }
    }
    // Chore to view
    public class ChoreVm
    {
        public string Name { get; set; }
    }

    //  show all kids for chore X
    public class KidChoreVm
    {
        public string ChoreName { get; set; }
        public List<KidVm> KidList { get; set; }
    }

}
